package 牛客.树;

//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;

/*
 *@Author  helen
 *@Date    2021/4/8 12:49
 *@Param    
 *@Return    
 *@Descriptions 
 */
//@NoArgsConstructor
//@AllArgsConstructor
//@Data
public class BTreeNode<T>{
    T data;
    BTreeNode<T> left;
    BTreeNode<T> right;

    BTreeNode(T data) {   //用于方便创建树
        this.data = data;
        this.left = null;
        this.right = null;
    }
}
